"use strict";
cc._RF.push(module, '6ec5eC8PftA6ZHlZM4qq0wV', 'DeathController');
// scripts/DeathController.js

"use strict";

var e = require;
var t = module;
cc.Class({
  "extends": cc.Component,
  properties: {
    DeathClothesObject: cc.Node,
    DeathWeaponObjects: [cc.Node],
    DeathYearObjects: [cc.Node]
  },
  DeathFunction: function DeathFunction(e, t, n) {
    void 0 === t && (t = !1);
    void 0 === n && (n = -1);
    var o = this.node.parent.convertToWorldSpaceAR(this.node.position),
        i = LevelManager.Instance.SceneContentNode.convertToNodeSpaceAR(o);
    this.node.parent = LevelManager.Instance.SceneContentNode;
    this.node.position = i;
    this.node.setSiblingIndex(0);
    this.node.active = !0;
  }
});

cc._RF.pop();